package chapter1.XML.superMarket;

import java.io.Serializable;

public class Member implements Serializable {
    private String name;
    private String phone;
    private int jifen;
    private String cardNo;

//    public Member() {
//    }

    public void show() {
        System.out.println("会员名" + name + ",会员号" + cardNo + ",积分" + jifen + ",手机号是" + phone);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getJifen() {
        return jifen;
    }

    public void setJifen(int jifen) {
        this.jifen = jifen;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
}
